<?php
  session_start();
 include_once ("Login/databaseconnection.php");
 $current_table="deleted_teacher";
$Deleted_date=$_GET['Deleted_Date'];
$T_NIC_Number=$_GET['T_NIC_Number'];
   	$resultdel=mysql_query("DELETE FROM deleted_teacher WHERE T_NIC_Number='$T_NIC_Number' AND Deleted_Date='$Deleted_Date'");
if($resultdel)
{
	 $_SESSION['error']="Successfully removed!";
}
if(!$resultdel)
{
	 $_SESSION['error']="Sorry,an error occured  please try again!";
}
	
 ?>